import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class Demo1Application {
    public static void main(String[] args){


        try (Connection conn = DruidConnectionPool.getConnection()) {

            System.out.println("连接成功");
        } catch (SQLException e) {
            e.printStackTrace();
        }

    }
}

